package com.yingside.jdbc.crm;

public class Dept {
    private int id;
    private String deptName;
    private String deptInfo;
    private String createTime;

    @Override
    public String toString() {
        return deptName;
    }

    public Dept() {
    }

    public Dept(int id, String deptName, String deptInfo, String createTime) {
        this.id = id;
        this.deptName = deptName;
        this.deptInfo = deptInfo;
        this.createTime = createTime;
    }

    public int getId() {
        return id;
    }

    public void setId(int id) {
        this.id = id;
    }

    public String getDeptName() {
        return deptName;
    }

    public void setDeptName(String deptName) {
        this.deptName = deptName;
    }

    public String getDeptInfo() {
        return deptInfo;
    }

    public void setDeptInfo(String deptInfo) {
        this.deptInfo = deptInfo;
    }

    public String getCreateTime() {
        return createTime;
    }

    public void setCreateTime(String createTime) {
        this.createTime = createTime;
    }
}
